package cn.libinal.scloud.base.service;

import cn.libinal.scloud.base.common.service.BaseJpaService;
import cn.libinal.scloud.base.entity.Permission;

import java.util.Set;

/**
 * @author libinal
 * created at 2018/11/4 16:08
 */
public interface PermissionService extends BaseJpaService<Permission> {

    /**
     * 获取角色权限
     * @param roleId 角色ID
     * @return 权限列表
     */
    Set<Permission> getRolePermission(String roleId);
}
